﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:cam="clr-namespace:Microsoft.Phone;assembly=Microsoft.Phone.Media.Extended"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
	x:Class="OmnipotentFlashlight.LED"
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	Orientation="Portrait"
	shell:SystemTray.IsVisible="False" Style="{StaticResource TransitionPageStyle}">

	<!--LayoutRoot 是放置所有页面内容的根网格-->
	<Grid x:Name="LayoutRoot" Background="Transparent">
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>
		
		<!-- TitlePanel 包含应用程序名称和页面标题
		<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
			<TextBlock x:Name="ApplicationTitle" Text="多功能手电筒" Style="{StaticResource PhoneTextNormalStyle}"/>
		</StackPanel> -->

		<!--ContentPanel - 在此放置附加内容-->
		<Grid x:Name="ContentPanel" Grid.Row="1" Margin="0,0,0,0">
			<Grid.Background>
				<ImageBrush Stretch="Fill" ImageSource="icon/flashlight_level0.png"/>
			</Grid.Background>
            <Image Height="34"  Margin="212,0,209,340" VerticalAlignment="Bottom" Name="btn"/>
			<Canvas Height="72" Margin="191,0,189,319" VerticalAlignment="Bottom" 
                    MouseLeftButtonUp="Canvas_MouseLeftButtonUp" Background="Transparent" MouseLeftButtonDown="Canvas_MouseLeftButtonDown" />
            <cam:CameraVisualizer Visibility="Collapsed" Name="vCam" />
        </Grid>
	</Grid>
</phone:PhoneApplicationPage>